#pragma once
/*--------------------------------------------------------------------------------
 * Adaptive Intelligence - Foundation Framework Class Library
 * Version 2.00
 * 
 * Process Times Structure
 *      Contains the values for the execution time values for a process.
 *------------------------------------------------------------------------------*/

/*--------------------------------------------------------------------------------
 * System Imports
 *------------------------------------------------------------------------------*/
#include "stdafx.h"
using namespace System;

namespace Adaptive
{
	namespace Win32
	{
		/// <summary>
		/// Contains the values for the execution time values for a process.
		/// </summary>
		public value struct ProcessTimes
		{
		public:
			/// <summary>
			/// The date and time the process was created.
			/// </summary>
			DateTime	CreationTime;
			/// <summary>
			/// The date and time the process was exited.
			/// </summary>
			DateTime	ExitTime;  
			/// <summary>
			/// The amount of processor time the process has used in kernel mode.
			/// </summary>
			TimeSpan	KernelTime;
			/// <summary>
			/// The amount of processor time the process has used in user mode.
			/// </summary>
			TimeSpan	UserTime;
		};
	}
}